export const randomInt = (min: number, max: number) => {
    return Math.floor(Math.random() * (max - min + 1) + min);
};
export const random16Color = () => {
    const colorWords = [...Array.from({ length: 9 }, (_: undefined, index: number) => index), "a", "b", "c", "d", "e", "f"];
    return `#${Array.from({ length: 6 }).reduce((pre: string) => pre + colorWords[randomInt(0, 15)], "")}`;
};
